package com.supply.service;

import com.supply.pojo.ResultBean;
import com.supply.pojo.User;
import com.supply.req.UserReq;

import java.util.List;

public interface UserService {
    User queryByUsercode(String usercode);

    User queryById(Long id);

    int updateById(User user);

    List<User> queryByCondition(UserReq userReq);

    int saveOrUpdate(User user);

    int deleteById(Long id);

    List<User> queryAll();
}
